package org.xyl.context;

import java.util.*;

/**
 * 上下文提取结果
 */
public class ContextExtractionResult {
    private String userQuery;
    private SessionContext sessionContext;
    private Map<String, List<String>> entities;
    private UserIntent intent;
    
    public ContextExtractionResult(String userQuery, SessionContext sessionContext, 
                                 Map<String, List<String>> entities, UserIntent intent) {
        this.userQuery = userQuery;
        this.sessionContext = sessionContext;
        this.entities = entities;
        this.intent = intent;
    }
    
    public String getUserQuery() {
        return userQuery;
    }
    
    public SessionContext getSessionContext() {
        return sessionContext;
    }
    
    public Map<String, List<String>> getEntities() {
        return entities;
    }
    
    public UserIntent getIntent() {
        return intent;
    }
}